//
//  XS_BindMobileCell.swift
//  XueDao
//
//  Created by Mac on 2020/12/12.
//

import UIKit

protocol XS_BindMobileCellDelegate {
    func bindMobileCell(_ : XS_BindMobileCell, didClickChangeBtn: UIButton)
}

class XS_BindMobileCell: UITableViewCell {
    
    var delegate : XS_BindMobileCellDelegate?

    @IBOutlet weak var mobileLabel: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    @IBAction func changeBtnAction(_ sender: UIButton) {
        if delegate != nil {
            delegate?.bindMobileCell(self, didClickChangeBtn: sender)
        }
    }
    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
